program testMethodDesignatorSimple;

class main

BEGIN
   VAR value : integer;
END			  


class testMethodDesignatorSimple

BEGIN
   VAR dummyValue : integer;
   
FUNCTION initMainObject(value :integer): integer;
BEGIN
   initMainObject := 8
END;

FUNCTION testMethodDesignatorSimple;
BEGIN
   dummyValue := initMainObject(5);

   PRINT dummyValue
END

END
.

